package com.luxoft.scoremanager.server.service;
 import com.luxoft.scoremanager.server.model.web.Component;
 import com.luxoft.scoremanager.server.model.web.ScorePackage;
 import com.luxoft.scoremanager.server.model.web.StaticData;

 import java.util.List;



public interface PackageManagerService {
    public void addComponentToScorePackage(Integer id, Component component);
    public void deleteComponentFromScorePackage(Integer id, Component component);

    public void updateComponentList(Integer id,List<Component> componentList);
    public void updateComponent(Integer id,Component component);
    public void updateScorePackage(ScorePackage scorePackage);

    public ScorePackage getScorePackageById(Integer id);
    public List<Component> getAllComponentByIdOfScorePackage(Integer id);
    public List<Component> getAllComponentByScorePackage(ScorePackage scorePackage);

    public List<StaticData> getAllStaticData();
}
